from django.conf.urls.defaults import patterns, include, url
from django.contrib.staticfiles.urls import staticfiles_urlpatterns

# Enable Django admin interface
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('race_stats',
    url(r'^$', 'views.index'),
    url(r'^races/', include('races.urls')),
    url(r'^teams/', include('teams.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    url(r'^admin/', include(admin.site.urls)),
)

urlpatterns += staticfiles_urlpatterns()

